<?php $posts = $this->getPosts(); ?>

<h1><?php echo $this->getCat()->getTitle();?>...</h1>
<?php 
if(count($posts)<1){
?>
<div class="note-msg">
    <?php echo $this->__('There are no posts in '.$this->getCat()->getTitle().'.'); ?>
</div>
<?php }else{?>
<?php foreach ($posts as $post): ?>
	<div class="newsitem">
		<div class="title"><?php echo $post->getTitle();?></div>
		<a class="more" href="<?php echo Mage::getBaseUrl('media').$post->getNfile(); ?>">Download >></a>
	</div>
<?php endforeach; ?>
<?php }?>

